M=10; N=100; words=[206,687,145,687,206,206,994,145,687,145,651,206,145,159,651,412,651,412,145,336,427,368,321,967,97,844,97,438,687,376,26,145,385,376,159,329,258,19,233,682,484,233,368,781,897,427,19,547,329,912,716,781,870,787,687,350,233,716,277,560,233,394,19,552,159,54,0,41,329,952,870,780,379,145,60,511,547,912,745,258,606,790,948,427,379,897,0,36,200,780,780,625,394,702,912,897,425,657,606,631];